#pragma once

#include <QtWidgets/QDialog>

class QLineEdit;
class QDateEdit;
class QPushButton;
class QDialogButtonBox;

class EngiLicenseGenerator : public QDialog
{
	Q_OBJECT

public:
	EngiLicenseGenerator(QWidget *parent = Q_NULLPTR);

private:
	//
	void initialize();

private slots:
	//
	void createLicense();

private:
	//
	QLineEdit *m_productNameEdit;
	QLineEdit *m_clientSignatureEdit;
	QDateEdit *m_beginDateEdit;
	QDateEdit *m_endDateEdit;
	QLineEdit *m_outputFileNameEdit;
	QDialogButtonBox *m_buttonBox;
};
